public class TestClass {

    private static void testMethod(){ //静态方法

        System.out.println("testMethod");



    }

    public static void main(String[] args) {

        TestClass testClass = ((TestClass)null);

        testClass.testMethod();
        System.out.println(testClass);

    }

}